@media screen and (max-width: 710px) {
  .header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 64px;
    line-height: 64px;
    background-color: var(--bgcolor);
    border-bottom: 1px solid #ccc;

    .container {
      display: flex;
      padding: 0 10%;

      .icon {
        width: 36px;
        height: 36px;
        margin-top: 14px;
        margin-right: 80px;
      }

      > ul {
        display: none;
        text-align: center;

        > li {
          a {
            color: var(--color) !important;
          }
        }
      }

      .right {
        display: none;

        .text {
          position: relative;
          top: 5px;
          float: right;
          height: 36px;
          margin: 0 20px;
          cursor: 'pointer';

          .sun {
            width: 24px;
            height: 24px;
            margin-top: 18px;
            background: #eec413;
            border-radius: 50%;
          }

          .moon {
            width: 24px;
            height: 24px;
            margin-top: 18px;
            background: #e684af;
            border-radius: 50%;
          }
        }
      }
    }
  }
}
@media screen and (min-width: 710px) and (max-width: 1600px) {
  .header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 64px;
    line-height: 64px;
    background-color: var(--bgcolor);
    border-bottom: 1px solid #ccc;

    .container {
      display: flex;
      justify-content: space-between;
      padding: 0 10%;

      .icon {
        width: 36px;
        height: 36px;
        margin-top: 14px;
        margin-right: 60px;
        margin-left: 70px;
      }

      > ul {
        display: flex;
        width: 520px;
        text-align: center;

        > li {
          flex: 1;

          a {
            color: var(--color) !important;
          }
        }
      }

      .right {
        width: 300px;
        margin-right: 80px;

        .text {
          position: relative;
          top: 5px;
          float: right;
          height: 36px;
          margin: 0 20px;
          cursor: 'pointer';

          .sun {
            width: 24px;
            height: 24px;
            margin-top: 18px;
            background: #eec413;
            border-radius: 50%;
          }

          .moon {
            width: 24px;
            height: 24px;
            margin-top: 18px;
            background: #e684af;
            border-radius: 50%;
          }
        }

        .right {
          display: flex;
          cursor: pointer;
          justify-content: center;
          align-items: center;
          flex: 1;

          .themes {
            float: right;
            padding: 0 40px;
            margin-top: 10px;
          }

          .search {
            display: flex;
            width: 30px;
            height: 30px;
            background: red;
            justify-content: center;
            align-items: center;
          }
        }
      }
    }
  }
}
